<?php include 'application/views/header.php' ?>
<h4 class="page-title">Chi tiết liên hệ</h4>
<div class="flash-message"><?php echo $this->session->flashdata('message') ?></div>
<form accept="" 
    accept="" method="post" id="frmViewContact" enctype="multipart/form-data">
    <table cellpadding="5" cellspacing="1" class="tbl-register" >
                    					<tr>
                    						<th>Đơn vị tham gia(*)</th>
                    						<td colspan="5"><?php echo $Register['Company']?></td>
                    					</tr>
                    					<tr>
                    						<th>Địa chỉ</th>
                    						<td colspan="5"><?php echo $Register['Address']?></td>
                    					</tr>
                    					<tr>
                    						<th>Điện thoại</th>
                    						<td><?php echo $Register['Phone']?></td>
                    						<th>Fax</th>
                    						<td colspan="3"><?php echo $Register['Fax']?></td>
                    					</tr>
                    					<tr>
                    						<th>Email(*)</th>
                    						<td><?php echo $Register['Email']?></td>
                    						<th>Website</th>
                    						<td colspan="3"><?php echo $Register['Website']?></td>
                    					</tr>
                    					<tr>
                    						<th>Người đại diện</th>
                    						<td><?php echo $Register['Representative']?></td>
                    						<th>Chức vụ</th>
                    						<td colspan="3"><?php echo $Register['Position']?></td>
                    					</tr>
                    					<tr>
                    						<th width="15%">Người liên hệ</th>
                    						<td width="20%"><?php echo $Register['ContactPerson']?></td>
                    						<th width="15%">Chức vụ</th>
                    						<td width="20%"><?php echo $Register['ContactPosition']?></td>
                    						<th width="15%">ĐTDĐ</th>
                    						<td><?php echo $Register['Mobile']?></td>
                    					</tr>
                    					<tr>
                    						<th colspan="6">Sản phẩm chính trưng bày tại ngày hội</th>
                    					</tr>
                    					<tr>
                    						<td colspan="6"><?php echo $Register['Content']?></td>
                    					</tr>
                    				</table>
    <div class="clr button-set">
    	<input type="button" value="Trả lời bằng email" id="btnReplyByEmail" />
        <input type="button" value="Về danh sách người dùng" id="btnBack" />
    </div>
</form>
<?php include 'application/views/footer.php' ?>
<script>
$('#btnBack').click(function(){
    window.location.href = '<?php echo base_url() ?>register.html'; 
});
$('#btnReplyByEmail').click(function(){
	window.location.href = 'mailto:<?php echo $Register['Email'] ?>';
});
</script>
